home *** CD-ROM | disk | FTP | other *** search
/ Workbench Design / WB Collection.iso / workbench werkzeuge / icon tools / opticon-1.8 / icon2c.doc < prev    next >
Text File  |  1996-04-07  |  2KB  |  52 lines

  1. Icon2C                                                                 Icon2C
  2.  
  3.    NAME
  4.     Icon2C -- Generate C sourcecode from an icon image (V36)
  5.  
  6.    SYNOPSIS
  7.     Icon2C NAME/A,QUIET/S,TO/K
  8.  
  9.    FUNCTION
  10.     Icon2C reads in given ".info" file and writes out well documented
  11.     and directly compilable C code.  This code if compiled with a symbol
  12.     TEST defined (usual compiler option: -DTEST) will generate an
  13.     executable which writes back the icon image file to disk.  This
  14.     allows you to modify any icon image to your own needs.
  15.  
  16.    INPUTS
  17.     NAME          - name of the icon image file.  A trailing ".info"
  18.             is optional but not required.
  19.     QUIET         - If this switch is set then Icon2C will not print any
  20.             warnings.
  21.     TO            - specifies the output file.  If not specified the
  22.             standard output stream will be used.
  23.  
  24.    EXAMPLE
  25.     ;generate C code for the disk icon of the disk in DF0:
  26.     icon2c df0:disk quiet to ram:diskicon.c
  27.  
  28.    DISCLAIMER
  29.     This file is part of the Icon2C and OptIcon distribution.
  30.  
  31.     Icon2C and OptIcon are free software; you can redistribute them
  32.     and/or modify them under the terms of the GNU General Public License
  33.     as published by the Free Software Foundation; either version 1 of
  34.     the License, or (at your option) any later version.
  35.  
  36.     Icon2C and Opticon are distributed in the hope that they will be
  37.     useful, but WITHOUT ANY WARRANTY; without even the implied warranty
  38.     of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  39.     GNU General Public License for more details.
  40.  
  41.     You should have received a copy of the GNU General Public License
  42.     along with these programs; see the file COPYING.  If not, write to
  43.     the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
  44.  
  45.    COPYRIGHT
  46.     Icon2C and OptIcon are Copyright (C)1994 by Tobias Ferber.
  47.     You can reach me via E-mail: ukjg@rz.uni-karlsruhe.de
  48.  
  49.    SEE ALSO
  50.     PatchIcons, OptIcon
  51.  
  52.